<template>
  <div class="app">
    <Props :money="money" :person="person" />
  </div>
</template>

<script>
import Props from "./components/Props";
// 传参在组件里面传入参数  属性
export default {
  data() {
    return {
      money: 100000000,
      person: {
        name: "宁泽涛",
        height: "191",
      },
    };
  },
  components: {
    Props,
  },
};
</script>

<style scoped>
/* 设置局部样式 scoped */
</style>